<?php !defined('ACCESSING') && die('Hacking attempt');?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>管理說明</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="../public/style/admin.css" type="text/css" rel="stylesheet" />
<script src="../public/js/j.js" type="text/javascript"></script>
<script src="../public/js/comment.func.js" type="text/javascript"></script>
<script src="../public/editor/fckeditor.js" type="text/javascript"></script>
<style type="text/css">
.table1{border-collapse: collapse;border-top:1px #336699 solid;border-left:1px #336699 solid;border-right:1px #336699 solid}
.table2{border-collapse: collapse;border-left:1px #336699 solid;}
.table2 td,.table3 td{border-bottom:1px #336699 solid;border-right:1px #336699 solid;padding:5px}
.table3{border-collapse: collapse;border-top:1px #336699 solid;border-left:1px #336699 solid;}
.inputtext{height:20px;line-height:20px}
</style>
</head>

<body>
<?php
include_once("../public/editor/fckeditor.php");
?>
<div align="center" style="margin-top:50px">
<form id="changepassform" method="POST" action="?action=update_arc_single&key=Hotel_description">
	<table width="80%" cellspacing="0" cellpadding="0" id="table1" height="28" border="1" bordercolor="#336699" style="border-collapse: collapse">
		<tr>
			<td bordercolor="#FFFFFF" bgcolor="#E8F1FF" height="26">
			<p align="center">新增訊息</p></td>
		</tr>
	</table>
	<table width="80%" cellspacing="1" cellpadding="3" id="table2" height="227" border="1" bordercolor="#336699">
		<tr>
			<td bordercolor="#FFFFFF" bgcolor="#E8F1FF" height="223" align="center" valign="top">
			<table border="0" width="100%" cellspacing="0" cellpadding="0" class="table1">
				<tr>
					<td bgcolor="#E8F1FF" align="right" width='10%' style="border-right:1px #336699 solid;">
					<font size="2">所屬類別：</font></td>
					<td bgcolor="#FFFFFF" style="text-align:left;padding:5px" width='90%'>
					<select id="category" name="category" onchange="changeform()">
						<option value="formcode-fx">客房介紹 – 房型</option>
						<option value="formcode-yhfa">活動訊息 – 優惠方案</option>
						<option value="formcode-zxxx" selected="selected">活動訊息 – 最新消息</option>
						<option value="formcode-zbjs">在地旅遊 – 週邊介紹</option>
						<option value="formcode-ggjd">在地旅遊 – 觀光景點</option>
						<option value="formcode-msjs">在地旅遊 – 美食介紹</option>
					</select> <span id="titError" class="red">*</span></td>
				</tr>
			</table>

			<table border="0" width="100%" cellspacing="0" cellpadding="2" class="table3">
				<tr>
					<td bgcolor="#E8F1FF" align="right" width='10%'>
					<font size="2">消息標題:</font></td>
					<td class="tab_tds" style="text-align:left" width='90%'>
					<input name="ntitle" type="text" id="zxxx-title" class="inputtext" maxlength="150" /> 
					<span id="titError" class="red"></span></td>
				</tr>
				<tr>
					<td bgcolor="#E8F1FF" align="right">
					<font size="2">消息上架時間:</font></td>
					<td class="tab_tds" style="text-align:left">
					<input name="zxxx-start" type="text" id="zxxx-start" class="inputtext" maxlength="150" /> 
					<span id="titError" class="red"></span></td>
				</tr>
				<tr>
					<td bgcolor="#E8F1FF" align="right">
					<font size="2">消息下架時間:</font></td>
					<td class="tab_tds" style="text-align:left">
					<input name="zxxx-end" type="text" id="zxxx-end" class="inputtext" maxlength="150" /> 
					<span id="titError" class="red"></span></td>
				</tr>
				<tr>
					<td bgcolor="#E8F1FF" align="right">
					<font size="2">消息說明:</font></td>
					<td class="tab_tds" style="text-align:left">
					<script type="text/javascript">
					<!--
					var sBasePath = "../public/editor/" ;
					var oFCKeditor = new FCKeditor( 'zxxx-info' ) ;
					oFCKeditor.BasePath	= sBasePath ;
					oFCKeditor.Height	= 400 ;
					oFCKeditor.Value	= '' ;
					oFCKeditor.Create() ;
					//-->
					</script>
					</td>
				</tr>
			</table>

			<table border="0" width="100%" cellspacing="0" cellpadding="0" class="table2">
				<tr>
					<td align="center" colspan="2" height="43">
					<input type="hidden" id="aid" name="aid" value="">
					<input type="submit" value="確 定 修 改" name="B1" id="B1" /></td>
				</tr>
			</table>
			</td>
		</tr>
	</table>
</form>
</body>
</html>